package com.woniu.model.contentMService.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 广告管理表
 * </p>
 *
 * @author 作者
 * @since 2023-10-20
 */
@Getter
@Setter
  @TableName("cm_advertisement")
@ApiModel(value = "Advertisement对象", description = "广告管理表")
public class Advertisement implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("广告管理表id")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("广告名称")
      private String advertisingName;

      @ApiModelProperty("商品图片")
      private String advertisingPicture;

      @ApiModelProperty("跳转地址")
      private String advertisingUrl;

      @ApiModelProperty("广告位置表id  外键")
      private Integer apId;

      @ApiModelProperty("发布方式 0/1")
      private Integer publishingMode;

      @ApiModelProperty("开始时间")
      private Date startTime;

      @ApiModelProperty("结束时间")
      private Date endTime;

      @ApiModelProperty("状态 0/1")
      private Integer onlineStatus;

      @ApiModelProperty("是否置顶 0/1")
      private Integer topPost;


}
